package com.zuokun.service;

import com.zuokun.protol.login.MsgGetAchieve;
import com.zuokun.protol.login.MsgLogin;
import com.zuokun.protol.login.MsgRegister;
import org.springframework.stereotype.Service;

public interface LoginService {
    /**
     * 登录
     *
     * @param msgLogin
     * @return
     */
    MsgLogin login(MsgLogin msgLogin);

    /**
     * 获取玩家信息
     * @param msgGetAchieve
     * @return
     */
    MsgGetAchieve getPlayerInfo(MsgGetAchieve msgGetAchieve);

    /**
     *
     * @param msgRegister
     * @return
     */
    MsgRegister register(MsgRegister msgRegister);
}
